// src/mocks/mockData.js

export const mockPostData = {
    id: 1,
    title: "Hello World",
    content: "这是一个测试帖子，内容仅供参考。",
    authorId: 1,
    username: "测试用户",
    avatar: "https://via.placeholder.com/48",
    categoryId: 2,
    categoryName: "前端开发",
    tagIds: [1, 2, 3],
    tags: [
      { id: 1, name: "React" },
      { id: 2, name: "Next.js" },
      { id: 3, name: "JavaScript" }
    ],
    status: "published",
    views: 120,
    likes: 10,
    favourites: 5,
    createdAt: "2024-03-15T10:00:00",
    updatedAt: "2024-03-15T12:00:00",
    comments: [
      {
        id: 101,
        user: "用户A",
        avatar: "https://via.placeholder.com/32",
        content: "这篇文章写得不错！",
        createdAt: "2024-03-15T10:30:00",
        likes: 2
      },
      {
        id: 102,
        user: "用户B",
        avatar: "https://via.placeholder.com/32",
        content: "希望能看到更多相关的内容。",
        createdAt: "2024-03-15T11:00:00",
        likes: 1
      }
    ]
  };
  